﻿using System.Collections.ObjectModel;
using Renci.Data.Interop.OpenGIS.Ogc;

namespace Renci.Data.Interop.OpenGIS.Wfs
{
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.opengis.net/wfs")]
    [System.Xml.Serialization.XmlRootAttribute("Update", Namespace = "http://www.opengis.net/wfs", IsNullable = false)]
    public class UpdateElementType
    {
        /// <remarks/>
        public UpdateElementType()
        {
            this.InputFormat = "x-application/gml:3";
        }

        private Collection<PropertyType> _properties = new Collection<PropertyType>();
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("Property")]
        public Collection<PropertyType> Properties
        {
            get
            {
                return this._properties;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("Filter", Namespace = "http://www.opengis.net/ogc")]
        public FilterType Filter { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute("handle")]
        public string Handle { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute("typeName")]
        public System.Xml.XmlQualifiedName TypeName { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute("inputFormat")]
        [System.ComponentModel.DefaultValueAttribute("x-application/gml:3")]
        public string InputFormat { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute("srsName", DataType = "anyURI")]
        public string SrsName { get; set; }
    }
}
